/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #000000;
}

/* Header Styles */
header {
    background-color: #000000;
    color: #ebad00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
header .logo img {
    height: 50px;
}

/* Desktop Navigation */
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.desktop-nav ul li a {
    color: #ebad00;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

.desktop-nav ul li a:hover {
    color: #ffffff;
}

/* Mobile Navigation (Initially Hidden) */
.mobile-nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #000000;
    width: 100%;
    padding: 10px 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav ul li {
    margin: 10px 0;
}

.mobile-nav ul li a {
    color: #ebad00;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

/* Hamburger Menu Icon (Hidden on Desktop) */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.mobile-menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ebad00;
}

/* Show Mobile Navigation on Small Screens */
@media (max-width: 768px) {

    /* Hide Desktop Navigation */
    .desktop-nav {
        display: none;
    }

    /* Show Hamburger Menu Icon */
    .mobile-menu-icon {
        display: flex;
    }

    /* When Mobile Menu is Active */
    .mobile-nav.active {
        display: block;
    }
}

/* Hero Section */
.hero {
    background-color: #ebad00;
    color: #000000;
    text-align: center;
    padding: 120px 20px;
    background-image: url('cricket.html');
    /* Optional background image */
    background-size: cover;
    background-blend-mode: multiply;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero .shop-now-btn {
    background-color: #000000;
    color: #ebad00;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
}

.hero .shop-now-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: scale(1.05);
}

/* Product Section */
.products {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.products h2 {
    font-size: 32px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: #000000;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 products per row */
    gap: 30px;
    justify-items: center;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 products per row */
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 products per row */
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
        /* 1 product per row */
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .shop-now-btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .products h2 {
        font-size: 24px;
    }

    .product-item h3 {
        font-size: 18px;
    }

    .product-item p {
        font-size: 14px;
    }

    .product-item .add-to-cart {
        padding: 8px 16px;
        font-size: 14px;
    }
}

.product-item {
    border: 2px solid #000000;
    padding: 20px;
    max-width: 250px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000000;
}

.product-item p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #000000;
}

.product-item .add-to-cart {
    background-color: #000000;
    color: #ebad00;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-item .add-to-cart:hover {
    background-color: #ffffff;
    color: #000000;
    transform: scale(1.05);
}

/* Footer Styles */
footer {
    background-color: #000000;
    color: #ebad00;
    text-align: center;
    padding: 20px;
}

.popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Overlay background */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.popup img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.popup .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

/* Responsive Popup */
@media (max-width: 768px) {
    .popup-content {
        width: 90%;
    }
}


.dif {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 220px;
    height: 220px;
    border-radius: 0.2px;
}